package com.zhiyun.domain;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseContent implements Serializable {
    @Serial
    private static final long serialVersionUID = 919638257260024815L;
    /**
    * id主键
    */
    private Integer id;

    /**
    * 标题名称
    */
    private String name;

    /**
    * 资源地址
    */
    private String resourceSrc;

    /**
    * 0是课件,1是视频,2是图片
    */
    private Integer cate;

    /**
    * 章节id
    */
    private Integer unitId;

    /**
    * 上传时间
    */
    private Date createTime;
}